@extends('Layout/layout')
@section('yemian')
<style type="text/css">
	.e_css {
    background: url(/public/images/lift_li_02_02.gif) no-repeat;
    width: 179px;
    font-weight: bold;
    color: #000;
    z-index: 1;
	}
</style>
<script type="text/javascript">
	$(document).ready(function(){ 
	 
		document.getElementById("person").className = "e_css";
	}); 
</script>
<script language="javascript" type="text/javascript">
function click1(num){

if(document.getElementById(num).style.display=="block")
{
 document.getElementById(num).style.display="none";
}
else
{
 document.getElementById(num).style.display="block";;
 
}

}
</script>
<body class="mian_bj">
<div class="mian_top_01">
<div class="mian_top_r"></div>
<div class="mian_top_l"></div>
<div class="mian_top_c">
<ul>
<li><a href="{{ url('Personnel/Person/index') }}"><p>员工档案</p></a></li>
<li><a href="{{ url('Personnel/Leave/index') }}"><p>请假申请</p></a></li>
<li><a href="{{ url('Personnel/Adjust/index') }}"><p>职位调整申请</p></a></li>
<li><a href="{{ url('Personnel/Leaveoffice/index') }}"><p>离职申请</p></a></li>
@if(session('role') == 1)
<li><a href="{{ url('Personnel/Recruit/index') }}"><p>人员招聘</p></a></li>
<li><a href="{{ url('Personnel/Performance/index') }}"><p>绩效管理</p></a></li>
<li><a href="{{ url('Personnel/Socialinsurance/index') }}"><p>社保</p></a></li>
<li><a href="{{ url('Personnel/Money/index') }}"><p>工资管理</p></a></li>
@endif
<li><a href="{{ url('Personnel/Training/index') }}"><p>员工培训</p></a></li>
</ul>
</div>

<div class="mian_b">
<div class="mian_b1">
<a href="{{ url('Personnel/Recruit/add') }}" title="添加"><p class="mian_b1_a1"></p></a>

</div>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="mian_b_bg">

<tr>
<td width="3%" class="mian_b_bg_lm">
<input name="" type="checkbox" value="">&nbsp;
</td>
<td width="7%" class="mian_b_bg_lm">
<span></span>招聘岗位
</td>
<td width="7%" class="mian_b_bg_lm">
<span></span>招聘人数
</td>
<td width="10%" class="mian_b_bg_lm">
<span></span>招聘日期
</td>
<td width="10%" class="mian_b_bg_lm">
<span></span>招聘要求
</td>
<td width="10%" class="mian_b_bg_lm">
<span></span>招聘时间
</td>

<td colspan="2" class="mian_b_bg_lm">
<span></span>操作
</td>
</tr>
@foreach($res as $k =>$v)
<tr>
<td><input name="" type="checkbox" value="">&nbsp;</td>
<td>{{$v['RecruitmentPost']}}</td>
<td>{{$v['RecruitmentCount']}}</td>
<td>{{$v['RecruitmentDate']}}</td>
<td>{{$v['RecruitmentConditions']}}</td>
<td>{{$v['Date']}}</td>
<td width="5%" class="mian_b_icon_01"><a href="{{url('Personnel/Recruit/edit',['id'=>$v['RecruitID']]) }}">编辑</a></td>

</tr>
 @endforeach                                                                                                                           
</table>
<div style="float:left;" id="fenye">
{!! $res->appends($info)->render() !!}
</div>
</div>
</div>
</body>


@endsection